Thesis Proposal: Data Representations and Polymorphic Languages
نویسنده
چکیده
Languages that provide polymorphism tend to place restrictions on object representations, separate compilation, and/or performance. For instance, most Ada implementations require that polymorphism be resolved before compilation. Consequently, separate compilation is sacriiced, since eliminating poly-morphism is a cross-module transformation. Some languages, like C++ and Modula-3, restrict the representations of polymorphic objects to \pointer" types. These languages provide good separate compilation but restrict programmers from writing certain types of polymorphic code. In addition, some runtime overhead might be paid due to the extra pointer indirection. Languages such as Scheme, Lisp, SML, and Haskell, place no explicit restrictions on the representations of objects. However, almost all implementations use the \pointer" restriction to implement the polymorphic features. In fact, most implementations make every object a pointer. This allows the languages to support very exible forms of polymorphism and separate compilation. However, the performance of such languages suuers due to the space and time overheads introduced by the indirection. The goal of this work is to show that polymorphic languages can be implemented without restrictions on object representations or separate compilation. Furthermore, by lifting these restrictions, programmers and compilers can choose representations that lead to superior performance.
منابع مشابه
Efficient Data Representation in Polymorphic Languages
Languages with polymorphic types (e.g. ML) have traditionally been implemented using Lisp-like data representations—everything has to fit in one word, if necessary by being heap-allocated and handled through a pointer. The reason is that, in contrast with conventional statically-typed languages such as Pascal, it is not possible to assign one unique type to each expression at compile-time, an a...
متن کاملA Study of Semantics, Types and Languages for Databases and Object-Oriented Programming
The purpose of this thesis is to investigate a type system for databases and object-oriented programming and to design a statically typed programming language for these applications. Such a language should ideally have a static type system that supports: polymorphism and static type inference, rich data structures and operations to represent various data models for databases including the relat...
متن کاملCalcul Symbolique, Programmation Et G Enie Logiciel Efficient Data Representation in Polymorphic Languages Eecient Data Representation in Polymorphic Languages Ecole Normale Sup Erieure Et Inria Rocquencourt, Projet Formel
Repr esentations de donn ees eecaces dans les langages polymorphes Xavier Leroy 1 R esum e Les langages avec typage polymorphe (p.ex. ML) utilisent g en eralement des repr esentations de donn ees a la Lisp pour leur impl ementation|tout doit tenir dans un mot, si n ecessaire en etant allou e dans le tas et manipul e via un pointeur. Ceci s'explique par le fait que, contrairement aux langages cl...
متن کاملDesigning a thesis tele-supervision system for postgraduate medical sciences students
Introduction: Today, progressing science and technology atall domains, including education and research, will bring newopportunities to resolve the communication and interactionproblems. The aim of this study was to determine potential factorsaffecting the thesis supervision and provide a web-based solution.Methods: This is a developmental study conducted in two<br...
متن کاملبررسی نظرات دانشجویان پزشکی زاهدان در مورد تاثیر درس بهداشت4 و اتاق مشاوره بر پایاننامه آنان
Objectives : The course "Health IV" and "consulting room" are two resources of learning about the method of preparing proposal and passing the final thesis for medical students at Zahedan University of Medical Sciences (ZUMS). The purpose of this study was to investigate the students' viewpoints on the effects of "Health IV" and consulting room on their final theses (pl. of thesis). Methods : T...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 1993